//
//  QSSegmentViewController.h
//  QSSegmentViewControllerDemo
//
//  Created by apple on 2017/9/15.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@class QSGestTableView, QSSegmentTitleView, QSContentViewCell;

@interface QSSegmentViewController : UIViewController
@property (nonatomic, strong) QSGestTableView *tableView;
@property (nonatomic, strong) QSSegmentTitleView *titleView;
@property (nonatomic, strong) QSContentViewCell *contentCell;

/** 是否要同时下拉刷新全部子控制器 */
@property (nonatomic, assign) BOOL needRefreshAllChildVC;

/** 选项卡中的数据数组 */
@property (nonatomic, strong) NSArray<NSString *> *titleViewArray;
@property (nonatomic, strong) UIColor *titleViewBgColor;
@property (nonatomic, strong) UIColor *titleNormalColor;
@property (nonatomic, strong) UIColor *titleSelectColor;
@property (nonatomic, strong) UIFont *titleNormalFont;
@property (nonatomic, strong) UIFont *titleSelectFont;
@property (nonatomic, assign) CGFloat titelItemMargin;
@property (nonatomic, strong) UIColor *bottomLineColor;
@property (nonatomic, assign) CGFloat titleViewHeight;
@property (nonatomic, assign) CGFloat customViewHeight;
@property (nonatomic, assign) CGFloat titleIndicatorHeight;
/** 指示器颜色，默认与titleSelectColor一样 */
@property (nonatomic, strong) UIColor *titleIndicatorColor;
/** 指示器的图片 */
@property (nonatomic, strong) UIImage *titleIndicatorImg;

/**
 *  添加所有子控制器
 */
- (void)setUpViewControllersWithArray:(NSArray *)childVCArray;
@end
